package com.yxw.live_vod_boot.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.io.Serializable;


/** 
 * @author liuxin
 * @create 2023-11-21 15:28:21 
 * @description 消息管理消息发送  
 */
@Data
@TableName(value ="yx_sys_notice_send")
@ApiModel(value = "消息管理消息发送 " , description="yx_sys_notice_send")
public class YxSysNoticeSendEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(value="send_id")
    @ApiModelProperty(value="主键")
    private Long sendId;

    @TableField(value="user_id")
    @ApiModelProperty(value="发送对象ID")
    private String userId;

    @TableField(value="user_name")
    @ApiModelProperty(value="发送对象名称")
    private String userName;

    @TableField(value="status")
    @ApiModelProperty(value="发送状态 1:成功 2：失败")
    private Integer status;

    @TableField(value="err_msg")
    @ApiModelProperty(value="异常信息")
    private String errMsg;

    @TableField(value="create_time")
    @ApiModelProperty(value="创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(value="notice_id")
    @ApiModelProperty(value="发送消息ID")
    private Long noticeId;

    @TableField(value="send_way")
    @ApiModelProperty(value="发送方式 1：短信提醒 2：页面")
    private Integer sendWay;

}
